package ro.quadroq.imc.dates;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DateAndTime {
	  

		public void getCurrentDate(){
		DateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd 'at' hh:mm:ss");
		Date date = new Date();
		System.out.println(dateFormat.format(date));
		}

		public static void main(String[] args) {
		DateAndTime date = new DateAndTime();
		date.getCurrentDate();

		}
		
}


